package org.cttic.visualization.visualization.controller;

import org.cttic.visualization.visualization.z_service.stationCount;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shkstart
 * @create 2020-05-22 9:59
 */
@RestController
@RequestMapping(value ="/stationCount")
@CrossOrigin
public class stationCountController {
    @Autowired
    stationCount stationCount;

    @RequestMapping(value ="/queryStationCount" )
    public String stationCountinfomation(@RequestBody String inputData){
        return stationCount.queryStationCount(inputData);
    }
}
